/**
 * COPYRIGHT HangZhou Trustway Technology Company Limited
 * All right reserved.
 */
package com.robam.cloud.database.annotation;

import com.robam.cloud.database.util.DynamicDataSourceContextHolder;

import java.lang.annotation.*;

/**
 * @Description
 * @Author 薛铁琪
 * @CreateTime 2020/7/5 13:38
 * @Version 1.0
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SelectDataSource {
    String db() default DynamicDataSourceContextHolder.DEFAULT_SOURCE;
}
